﻿using System;
using System.Collections.Generic;
using System.Text;

namespace Ls.Utils
{
    public static partial class CommonHelper
    {
        /// <summary>
        /// 获取导出的列
        /// </summary>
        /// <param name="key"></param>
        /// <returns></returns>
        public static Dictionary<string, string> GetColumns(string key) {
            return JsonHelper.ToObject<Dictionary<string, string>>(GetRequest(key));
        }
        /// <summary>
        /// 获取导出的列
        /// </summary>
        /// <returns></returns>
        public static Dictionary<string, string> GetColumns()
        {
            return GetColumns("columns");
        }
    }
}
